package com.dykj.fireFighting.web.service.impl;

import com.dykj.fireFighting.web.service.SysUserService;
import com.dykj.fireFighting.web.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author fgc
 * @Date 2021/7/2 13:47
 * @ Description：
 */
@Service
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;
    @Override
    public List<String> getUserByUnitId(String unitId) {
        return sysUserMapper.getUserByUnitId(unitId);
    }
    @Override
    public List<String> getUserPhoneByUnitId(String unitId) {
        return sysUserMapper.getUserPhoneByUnitId(unitId);
    }
    @Override
    public List<String> getCenterUserByUnitId(String socialUnitId) {
        return sysUserMapper.getCenterUserByUnitId(socialUnitId);
    }
    @Override
    public List<String> getCenterUserPhoneByUnitId(String socialUnitId) {
        return sysUserMapper.getCenterUserPhoneByUnitId(socialUnitId);
    }

    @Override
    public Map<String, Object> getCenterUnit(String unitId) {
        return sysUserMapper.getCenterUnit(unitId);
    }

    @Override
    public List<String> getUnitIds(String socialUnitId) {
        return sysUserMapper.getUnitIds(socialUnitId);
    }
}
